import os
import time

import pytest

from lib import ConfigParser

if __name__ == '__main__':
    pytest.main()

    # 本地开发放开注释
    # config = ConfigParser()
    # env = config.get(section='env', option='env')
    # if env.__eq__('test'):
    #     os.system('allure serve allure-results')
    #     os.system('allure generate allure-results -o allure-results-html --clean')
    #     os.system('allure open ./allure-results-html')
